package com.example.datamanage.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author 28142
 * @description 登录DTO
 * @date 2023/7/20 0:14
 */
@Data
public class LoginDTO {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "验证码不能为空")
    private String code;
}
